// -------------------------------------------------------------------------------------------------
// Definations
// -------------------------------------------------------------------------------------------------

// Basic Definations (if not available elsewhere)
#ifndef FALSE
#define FALSE (0)
#define TRUE  (!FALSE)
#endif
#ifndef NULL
#define NULL ((void *)0)
#endif


// Basic Datatypes
typedef unsigned char  uchar;
typedef unsigned char *puchar;  
typedef signed char    schar;
typedef signed char   *pschar;  
typedef unsigned int   uint;
typedef unsigned int  *puint;  
typedef signed int     sint;
typedef signed int    *psint;  

// -------------------------------------------------------------------------------------------------

// High Level Function Prototypes

int HTSC_Open(void);
int HTSC_Close(void);
int HTSC_ReadID(unsigned char *pID, unsigned char *pCMC);
int HTSC_SetPER(unsigned char *pIssuserID,unsigned char *pAuthKey);
int HTSC_UserAuth(unsigned char *pAuthKey);
int HTSC_ReadIssuserID(unsigned char *pIssuserID);
int HTSC_WriteUserData(unsigned int addr, unsigned char *pWR, unsigned int len);
int HTSC_ReadUserData(unsigned int addr , unsigned char *pRD, unsigned int len);
int HTSC_BurnPerFuse(void);



